package com.common.enums.sys;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.core.enums.CoreEnum;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author: stefanie-zy
 * @time: 2024/1/25-10:17
 * @description: 删除状态枚举
 */
@Getter
@AllArgsConstructor
@Schema(name = "Enum-删除状态")
public enum DelFlagEnum implements CoreEnum {

    NOT_DELETE(1, "未删除"),
    DELETE(2, "删除"),
    ;

    @EnumValue
    private final Integer code;
    @JsonValue
    private final String message;
}
